﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data.Models.Enums;

namespace Data.Models
{
    public class Adress
    {
        [Key]
        public int Id { get; set; }

        public AdressType AdressType { get; set; }
        public string Street { get; set; }
        public string BuildingNumber { get; set; }
        public string FaltNumber { get; set; }
        public string Postcode { get; set; }
        public string Locality { get; set; }
        public string Country { get; set; }
        public Employee Employee { get; set; }

    }
}
